SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE VIEW dbo.vwtcueanexos
AS
SELECT     dbo.u_f2_b_cue_usan_construccion.Id, dbo.u_f2_b_cue_usan_construccion.idConstruccion, dbo.u_cue.NomEst, dbo.u_f2_00_varios.idCui
FROM         dbo.u_f2_b_cue_usan_construccion INNER JOIN
                      dbo.u_f2_00_varios ON dbo.u_f2_b_cue_usan_construccion.idConstruccion = dbo.u_f2_00_varios.Id INNER JOIN
                      dbo.u_cue ON dbo.u_f2_b_cue_usan_construccion.idCue = dbo.u_cue.idCue
GO
GRANT SELECT ON  [dbo].[vwtcueanexos] TO [Cenie]
GO
